@font-face {
    font-family: poppins-semibold;
    src: url('/common/poppins/Poppins-SemiBold.otf');
}

@font-face {
    font-family: poppins-regular;
    src: url('/common/poppins/Poppins-Regular.otf');
}

@font-face {
    font-family: poppins-medium;
    src: url('/common/poppins/Poppins-Medium.otf');
}

@font-face {
    font-family: poppins-bold;
    src: url('/common/poppins/Poppins-Bold.otf');
}

.bold{
    font-family: poppins-bold, sans-serif;
}

.semi_bold{
    font-family: poppins-semibold, sans-serif;
}

.medium{
    font-family: poppins-medium, sans-serif;
}

.regular{
    font-family: poppins-regular, sans-serif;
}

.dark_text{
    color: #22304A;
}

.light_text{
    color: #7888A2;
}

.lighter_text{
    color: #AABAD4;
}

.theme_text{
    color: #0072FF;
}

.theme_bg{
    background: linear-gradient(to right, #0072FF , #00C6FF);
    color: #ffffff;
}

.body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: #FFFFFF;
}

.container{
    padding: 20px;
    overflow: hidden ;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.main{
    width: 600px;
    overflow: scroll;
    scrollbar-width: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.user_avatar{
    width:80px;
    height:80px;
    border-radius:50px;
    margin-right: 40px;
}

.user_info{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user_name{
    font-size: 20px;
}

.user_message{
    font-size: 18px;
}


.rooms{
    margin: 20px 0 0 0 ;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: scroll;
}

.rooms .room{
    margin-left: 15px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.active_room_indicator{
    width: 50px;
    height: 30px;
}

.controls{
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.controls_card{
    width:290px;
    height:320px;
    border-radius:10px;
}

.main_control{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main_control_header{
    display: flex;
    justify-content: center;
    align-items: center;
}

.ac_icon{
    width:100px;
    height:60px;
    margin-right: 30px;
    margin-left: 10px;
}

.ac_toggle{
    width:80px;
    height:20px;
}

.main_control_header_title{
    font-size: 15px;
    width: 150px;
}

.controller{
    display: flex;
    justify-content: center;
    align-items: center;
}

.controller .level, .minus, .plus{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

.minus_button, .plus_button{
    border-radius: 50px;
    width: 50px;
    height: 50px;
    margin: 10px;
}

.range{
    width: 125px;
    height: 125px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("common/images/range.png");
    background-size: cover;
    background-position: center;
}

.curve_bg{
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("common/images/curve_bg.png");
    background-size: cover;
    background-position: center;
}

.curve_bg .progress{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.curve_bg .progress_bar{
    margin:5px;
    stroke-width: 12px;
    background-color: transparent;
    transform: rotate(-120deg);
}

.curve_bg .progress_value{
    width: 90px;
    height: 95px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url("common/images/value_bg.png");
    background-size: cover;
    background-position: center;
}

.progress_value_header{
    font-size: 12px;
}

.progress_value_footer {
    font-size: 7px;
}


.modes{
    margin-top: 20px;
}

.modes image{
    width: 30px; height: 30px;
}

.dry_mode, .cool_mode, .fan_mode, .turbo_mode{
    margin: 10px;
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.other_controls{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.lamp_control, .fan_control{
    border-radius: 10px;
    width: 260px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.other_controls_icon2{
    width: 30px;
    height: 30px;
}


.other_controls_icon1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 8px;
    width: 40px;
    height: 100%;
}

.other_controls_slider{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: 0 20px;
}

.other_controls_progress_bar{
    background-color: #ffffff;
    width: 150px;
    stroke-width: 10px;
}


.devices{
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.devices_title{
    font-size: 20px;
    width: 70%;
}

.add_device{
    color: #ffffff;
    border-radius: 8px;
    width: 130px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.add_device_icon{
    width: 30px;
    height: 30px;
    margin: 0 5px;
}

.device_list{
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device_card{
    width: 130px;
    height: 100px;
    border-radius: 10px;
    margin: 10px;
}

.device{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.device_header{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
    width: 100%;
}

.device_icon{
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0px;
}

.device_toggle{
    margin: 5px 0 0 0 ;
    width: 36px;
    height: 20px;
    position: absolute;
    right: 0px;
}

.device_footer{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    width: 100%;
    height: 30%;
}

.device_name{
    position: absolute;
    left: 0px;
    width: 90%;
    height: 20px;
    overflow: hidden;
}

.on_off{
    position: absolute;
    right: 0px;
}


.sidebar{
    overflow: scroll;
    scrollbar-width: 0px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.weather{
    display: flex;
    justify-content: center;
    align-items: center;
}

.temperature, .humidity{
    margin-right: 5px;
    border-radius: 10px;
    font-size: 11px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.weather_title, .weather_value, .temperature_visualizer, .humidity_visualizer{
    margin:2px;
}

.weather_info{
    display: flex;
    flex-direction: column;
}

.temperature_visualizer{
    background-image: url('common/images/temperature_range.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 30px;
}

.humidity_visualizer{
    background-image: url('common/images/bar_graph.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 30px;
}

.carousel_card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 220px;
    border-radius: 10px;
    margin: 5px;
}

.carousel{
    display: flex;
    flex-direction: column;
}

.carousel_header{
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel_icon{
    width: 50px;
    height: 50px;
}

.carousel_title{
    margin-left: 10px;
    width: 80%;
    overflow: hidden ;
    font-size: 10px;
}

.carousel_toggle{
    width: 40px;
    height: 15px;
    margin: 0px;
}

.carousel_content{
    width: 100%;
    height: 120px;
    margin:10px;
}

.carousel_swiper image{
    border-radius: 10px;
}

.carousel_content_header{
    position: absolute;
    width: 100%;
    margin:10px;
}

.carousel_content_icon{
    width: 40px;
    height: 15px;
    position: absolute;
    left: 0px;
}

.carousel_content_time{
    font-size: 10px;
    color: #ffffff;
    position: absolute;
    right: 0;
}

.weather_warning_card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 220px;
    border-radius: 10px;
}

.weather_warning{
    display: flex;
    flex-direction: column;
}

.weather_warning_header{
    width: 100%;
    display: flex;
    align-items: center;
}

.weather_warning_icon{
    width: 60px;
    height: 60px;
}

.weather_warning_title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 10px;
}

.weather_warning_location{
    display: flex;
    align-items: center;
}

.weather_warning_location_icon{
    width: 8px;
    height: 11px;
    margin-right: 5px;
}

.weather_warning_buttons{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.weather_warning_day{
    width: 60px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 15px;
    margin: 0 10px 0 0 ;
}

.weather_warning_week{
    width: 65px;
    height: 38px;
    display: flex;
    font-size: 15px;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.weather_warning_weather{
    width: 150px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.weather_warning_info{
    width: 50%;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.weather_warning_date{
    font-size: 8px;
}

.weather_warning_temperature{
    font-size: 20px;
    margin: 2px 0;
}

.weather_warning_weather_type{
    font-size: 10px;
}

.weather_warning_clouds{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather_warning_footer{
    margin-top:10px;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error{
    display: none;
    background-color: white;
    font-size: 15px;
    width: 200px;
    height: 200px;
    border-radius: 100px;
}

@media only screen and (max-width: 768px){
    .main_control_header_title{
        width: 100px;
    }
    .minus, .plus{
        width: 60px;
        height: 72px;
    }
    .sidebar{
        display: none;
    }
    .other_controls{
        margin: 0;
    }
}

@media only screen and (max-width: 400px){
    .main{
        display: none;
    }
    .sidebar{
        display: none;
    }
    .error{
        display: flex;
        align-items: center;
        justify-content: center;
    }
}